package com.newbie.pet.wrap;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


/**
 * 类描述：请求参数
 *
 * @author zhangkailiang
 * @date 2020/5/23
 */
@ApiModel("分页请求参数")
@Data
@Accessors(chain = true)
public class P<T> {

    @NotNull
    @ApiModelProperty(value = "分页参数")
    private IPage page;

    @ApiModelProperty(value = "查询参数")
    private T param;
}
